import 'dotenv/config'

// console.log(dotenv.config())

// console.log(process.env)

const dataBaseConfig = {
    host: process.env.MYSQL_HOST || '127.0.0.1',
    port: Number(process.env.MYSQL_PORT) || 3306,
    username: process.env.MYSQL_USERNAME || 'root',
    password: process.env.MYSQL_PASSWORD || '123456',
    database: process.env.MYSQL_DATABASE || 'jiaoxueanliyanshi',
}

export default dataBaseConfig
